﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;
using System.Data;

namespace PTTPOS_Solution.DAL
{
    public static class Notemenu_DA
    {
        public static DataTable getnotemenus()
        {
            DataTable tbl = new DataTable();
            MySqlCommand com = new MySqlCommand("select * from tblnotemenus", Connection_PTTPOS.GetConnection());
            com.Connection.Open();
            MySqlDataAdapter adapter = new MySqlDataAdapter(com);
            adapter.Fill(tbl);
            com.Connection.Close();
            return tbl;
        }
    }
}
